RepeatedTiming
RepeatedTiming[expr] evaluates expr repeatedly and returns a list of the average time in seconds used, together with the result obtained.
RepeatedTiming[expr,t] does repeated evaluation for at least t seconds.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.